// 文章列表
import * as types from '../actionTypes/articleList'
const initialState = []
const articleList = (state = initialState, action) => {
  switch (action.type) {
    case types.GET_ARTICLES:
      return action.payload
    default:
      return state
  }
}

export default articleList